__label__NO "then i set the logging to , and it appeared to work on the bench."
__label__NO "i did not flight test."
__label__YES "transmitter_control: don't arm on settings change"
__label__YES "before, if you had an arming switch in the armed position while you configured the arming mode, it would immediately arm."
__label__NO "it's a minor safety improvement to prevent this."
__label__NO "sprfe: deal with crappy brushed clones"
__label__YES "make sure pins are nailed low during bootloader, since there's no pulldowns!"
__label__NO "whatta kludge."
__label__YES "even with this one of four motors twitches."
__label__NO ">we should consider something like this globally in the bootloader across all targets."
__label__YES "stabilization: disable hangtime in flipover mode."
__label__YES "quad probably shouldn't react to flipover commands when throttle is zero."
__label__YES "copter: do not enable motors if radio calibration has not been performed or (pre-arm checks have succeeded?)"
__label__YES "in .-rc (and earlier) we send the min-throttle out to the escs as soon as we start-up."
__label__YES "the issue is that this could be an unitialised value and could cause the motors to spin up."
__label__NO "this is the scenario where this can happen: ."
__label__NO "your normal radio range (and thus the range that you've calibrated your escs to) is ~ ."
__label__NO "the top isn't important but the is."
__label__NO .
__label__NO "when you're first connecting your battery (before the erase), your copter is outputting ."
__label__YES "the escs see this low value and say, ""ok the pilot has the throttle low, it's ok for me to initialise""."
__label__YES "once initialised the escs will start up the motors if they see a signal above ."
__label__NO .
__label__NO "you then do the reset of params and this returns the rc_min to ."
__label__NO .
__label__YES "when you reboot the apm by connecting with the mission planner, it starts sending the new default min-throttle value () to the escs the escs see the as a valid throttle and spin the motors (a bit slowly)"
__label__YES "copter: add compass calibration to pre-arm check"
__label__YES "if compass_learn is off (the default) and the user does not perform a live or log based compass calibration we should refuse to arm."
__label__YES "arduplane battery monitoring rtl bug"
__label__NO "please see issue posted at"
__label__YES ">in short, a low battery warning can cause a permanent rtl that can't be overridden."
__label__NO "arducopter seems to function fine but the checks are not the same for arduplane."
__label__YES "copter: add fast-flashing red led when pre-arm checks fail"
__label__YES "copter: battery failsafe shouldn't switch to rtl mode if we're already in rtl"
__label__YES "ppm summ out signal failsave detection"
__label__YES "i want to report that the failsafe handling in the case of a rc-signal loss with a sum signal connection (sumo) does not work correctly"
__label__NO ">graupner and futuba changed in the latest updates of there receivers the failsafe output"
__label__NO ">the following lines are translated from the graupner support ""after a request from flybarless, dji and mikrocopter we shut down the sumo signal in a case of error"""
__label__YES ">the problem at arducopter is following: if the sumo shuts off every channel is on pwm which if you are actually in acro mode generates a very fast uncontrollable spin."
__label__YES "now the rtl kicks in (some time later..."
__label__NO "to late) because the channel too is below and tries to capture the copter again."
__label__YES "at this moment i already lost around m of height, the copter flipped over multiple axis..."
__label__NO "rest in pieces"
__label__YES ">we need a failsafe which triggers on sumo-signal loss and does not interpret the non existent inputs as pwm for all channels, which is really really bad"
__label__YES "copter: ignore flight mode change during /th second thr failsafe interim period and short period afterwards"
__label__YES "when a low throttle value is received (i.e. below ) arducopter temporarily ignores it and instead uses the throttle value it received just before this low value was received."
__label__NO "during this period it does however accept flight mode changes (channel )."
__label__YES "the issue is that some receivers (fr sky) have only simple failsafes that must set all channels to pre-configured values including the flight mode channel."
__label__YES "this means that it's possible for the flight mode to momentarily be changed during the short period (/th of a second) between when the throttle is pulled low and the failsafe is invoked."
__label__YES "after the throttle failsafe is cleared we should also wait another short period of time (again /ths of a second?) to allow the channel to return to it's pre-failsafe value"
__label__YES "copter failsafe : some rc receivers could trig previous mode after failsafe"
__label__YES "following a dev list discussion, i've found that an unwanted mode change can occur when the rc receiver go out of failsafe condition, changing from rtl mode to the mode set on the rc transmitter."
__label__YES ">this is certainly because we don't have a mode inhibit protection during failsafe."
__label__YES ">if the rc receiver, recovering from link lost, change the channel mode just after throttle goes over , then rtl can be cancelled."
__label__NO "this can occur because some receiver do not have a pwm hold capability."
__label__NO "ch will go to pwm = during failsafe and come back to the previous value after link recovery."
__label__YES ">because ch is after ch in the ppm sequence, most receivers will change ch value a few milliseconds after ch, causing an eventually and undesired mode change to stabilize."
__label__YES ">if this bug is confirmed, we should add a mode inhibit protection during failsafes, locking ch mode changes during failsafe, and releasing ch mode changes about milliseconds after failsafe off event."
__label__NO >---
__label__NO ">failsafe testing"
__label__NO ">the only way to fully test failsafes is during flight, because we have now in the code quite a few flight conditions tests changing failsafes behavior."
__label__NO "and we have now different failsafes : radio, gps, gcs and battery for version .."
__label__NO ">that's why we need failsafe simulators, on ch and ."
__label__NO "randy do have that for testing, i feel we should have it at least inside . rc so that all testers can check the whole failsafe functionality."
__label__NO "this could be removed for the release eventually."
__label__YES ">i've never tested the failsafe in the field because powering off the transmitter is dangerous."
__label__NO "needs to much time to get it back on if something goes wrong."
__label__NO ">ch and failsafe triggers will authorize field testing."
__label__YES "copter: disable ch tuning during throttle failsafe"
__label__YES "one user was tuning wpnav_speed with ch tuning knob and lost radio contact."
__label__NO "because the min had been set to zero, the wpnav_speed was reduced to zero so while the copter switched into rtl it would not return because of the zero wpnav speed."
__label__YES "additionally we should check that the wpnav_speed is never set below some reasonable minimum (like meter per second)."
__label__YES "gps: detect whether messages are arriving slowly and resend config"
__label__YES "copter: do not allow arming if any failsafes have triggered"
__label__NO "this includes battery, gcs, radio, gps or fence"
__label__YES "copter: gimbal and motor outputs can conflict for hexa and octa"
__label__NO "it is possible for hexa, y and octa users to set-up the camera gimbal to output on channels that are used for the motors."
__label__YES "this can lead to the motors spinning up when the gimbal is enabled."
__label__NO "discussion is here:"
__label__YES "copter: sudden bad gps position leads to loiter flying off (gpsglitch)"
__label__NO hi,
__label__NO ">i have been working in wireless networking with arducopter."
__label__NO "it so happens that gps works at a carrier frequency of . ghz."
__label__NO "it receives less than nanowatts of power (- dbm)."
__label__YES "any signal stronger than this at nearby frequency on board (even harmonics of a source, which are not unusual) can kill the gps signal entirely (even noise in microwatts)."
__label__YES "i am using a camera on board and it is the killer of gps - when i start the video shoot."
__label__YES ">when this happens during loiter, (gps signal is killed - no power problem, both are powered separately - and i have reproduced and verified the gps loss and camera with spectrum analyzer), the copter loses its position accuracy immediately, and goes haywire."
__label__NO "i have ferrite beaded + cu wrapped but it still happens at odd times."
__label__YES ">this problem cannot be avoided and can lead to heavy losses with expensive on-board equipment."
__label__YES "this must be acknowledge and taken note of it in software (esp. on what action to take 'immediately' when the gps count diminishes suddenly in a matter of seconds - as this is not normal and not seen by all but when it happens it is all gone, as happened in my case)."
__label__NO ">currently, we wait for seconds loss of gps fix."
__label__YES "what i am talking about is an immediate measure when gps signal reduces drastically within blink of an eye even for a second."
__label__NO ">thanks, shyam"
__label__YES "rc dangerous condition - safety feature fault"
__label__YES "dangerous condition craft: multi-rotor firmware version: .. rc"
__label__YES ">situation: proper action - arm the craft and prop spin initiates."
__label__YES ">danger: % full throttle if radio tx is turned off or loss of radio connection the motors/props go to % full throttle."
__label__YES ">results: damage! vehicle becomes an autonomous 'fly away' (or flips?) causing likely physical damage to bi-standers, surroundings and itself."
__label__NO ">interesting side observation upon arming the props - good side feature?"
__label__NO "- when the props are contacted they quickly stop and do not spin anymore."
__label__NO "this is good!"
__label__YES "but, in the above radio loss condition when there is loss of radio signal the remaining props still go to % full throttle."
__label__YES "the vehicle violently flips."
__label__YES ">suggestion: add program logic so when the craft is in pre-op (pre-operation) flight mode and there is a loss of radio connection the apm will either: ."
__label__NO "action - turn off props, sound alert and disarm."
__label__NO "[preferred?] ."
__label__NO "no action - sit with props continuing to spin / stay armed."
__label__YES "copter: parameter to disable fence when gps lost"
__label__YES "the logic behind this is to avoid the copters landing when gps is lost."
__label__YES "this option will of course mean that you have slightly higher chance of fly-aways because if the gps is lost permanently while flying in a manual flight mode, the fence breach will never be triggered."
__label__YES "px: sbus failsafe handling serioulsy broken"
__label__NO "i just replaced my fasst ppm sum receiver with an sbus type (futaba rsb)."
__label__YES "after that, the throttle failsafe recognition is completey messed up - fly-away is guaranteed on rx problems."
__label__NO ">my setup: tx failsafe is configured to a ch value of about ms, all other channels are set to hold."
__label__YES "minimum normal throttle is about ms."
__label__YES "arducopter is configured to recognize anything below as throttle fs."
__label__NO "using this setup, everything works as expected with the ppm sum receiver, including rtl on tx power cuttoff."
__label__NO ">behavior after changing to sbus input: all channels show different min/max pwm values: about -ms instead of -ms."
__label__NO "this is nasty, as a lot of ardupilot functions trigger on ms."
__label__YES ">after switching of the tx (failsafe settings as above) the following values are shown: ch: ms(!!!), all other channels contain the last received value between and ms, including ch which should be well below minimum throttle due to the failsafe setting."
__label__YES "this behavior could easily lead to a fly-away during any in-flight failsafe situation."
__label__YES "a servo connected to ch additionally moves to the correct failsafe position slightly below min throttle, so i expect the receiver to output the correct value for ch."
__label__NO "as a cross-check, i tried a tfr sbus receiver from hk, it shows exactly the same behavior."
__label__NO ">versions: fmu ., io ., arducopter .-rc"
__label__YES "copter: flip bypasses failsafe"
__label__NO "filed on behalf of randy: ."
__label__YES "flip bypasses failsafe"
__label__NO >see:
__label__YES "copter: motors will spin full throttle immediately after arming if flip isn't completed."
__label__NO "after updating my copter and configuring a few new options, such as flip, i went to test fly it."
__label__YES ">immediately upon arming, the copter started flying and took off in a direction, before crashing down on its own."
__label__NO "i did do flight checks (radio calibration, verify modes, verify some fail safes) before."
__label__NO ">i'm still trying to figure out the cause, but testing it with the main new feature i added, channel radio flip, without props made me realize something."
__label__YES ">if you arm the copter, set it to flip, disarm before flip completes, the next time you arm it without removing power will cause the copter to immediately attempt to flip, even with throttle at ."
__label__YES "copter: in auto do not prioritise roll/pitch over throttle so much that we lose too much altitude"
__label__NO "there is an example of this happening here:"
__label__YES ">the vehicle's compass was (likely) more than degrees off from reality which may have contributed to the altitude loss."
__label__NO ">related issue concerning catching bad compass headings is here:"
__label__YES "copter fence: give pilot seconds from the time flight mode is changed before reinvoking rtl or land"
__label__YES "in ac.. when the fence is breached the copter switches to rtl and a new fence is erected m further out."
__label__NO "the problem is that if the rtl fails and the copter continue away from home, the pilot will have very little time to recover before hitting the next fence."
__label__YES "this can lead to the pilot being unable to effectively recover."
__label__NO ">we should probably also make the backup fences further out."
__label__YES "copter: ensure gps failsafe switches land to pilot-controlled-land"
__label__NO "there are two forms of land: ."
__label__NO "pilot controls roll-pitch, autopilot controls altitude ."
__label__YES "autopilot controls roll-pitch and altitude if a gps failsafe occurs while the copter is in the nd land, it should switch to the first."
__label__YES "at the moment this does not happen because although the gps failsafe will call the set_mode(land) function, the set_mode() function ignore the request because it sees the control_mode is already land."
__label__NO "i.e. at the flight mode level, there is no distinction between the two land modes."
__label__YES "copter fence: ensure rtl_alt is never above fence's max alt"
__label__YES "copter: fence triggers immediately after arming"
__label__YES "scenario a) i reconfigured some bits on my copter today and experienced an unexpected spin-up of the motors."
__label__NO "i didn't have telem on with the laptop, but verified in the apm onboard dataflash that, after arming, the mode went into ""rtl""."
__label__NO "i disconnected everything, reconnected and the same issue occurred."
__label__YES "in this case, the vehicle is turned on inside with a poor gps lock that can easily be off by a couple of hundred meters."
__label__NO "radio was % throttle, mode switch to stab."
__label__NO ">scenario b) on apm. hardware some time ago i experienced the same issue in the open field."
__label__NO "this time, the laptop was not used to connect."
__label__YES "after arming the vehicle just took off and was extremely difficult to control."
__label__NO "the experienced pilot managed to land safely though."
__label__NO "another attempt was made with the same result, after which we terminated the tests."
__label__NO ">so these are two different stories with the same result."
__label__YES "gps apparently was measured as good, allowing the motors to arm, but then it was derived that the vehicle is outside the fence."
__label__YES "the motors spin up immediately afterwards and the craft attempts to travel home."
__label__YES ">*\* in both scenarios there's a % working radio control link, but the input do not seem to work."
__label__NO "i attempted to disarm motors for a), but this didn't help."
__label__YES "*\* control in b) remained very poor even using the mode switch, because obviously it switches back into rtl mode immediately after."
__label__NO "*\* both scenarios did not connect the laptop through either usb or radio prior to arming the vehicle."
__label__NO "i think that's key for this issue to occur."
__label__NO ">so i think safety wise, some considerations and improvements need to be made: ."
__label__NO "if i'm not mistaken, the only time when 'home' on the ap is updated is when the gcs is connected."
__label__NO "so bringing an ap to the field with geofence on without connecting the laptop can cause this issue to occur."
__label__NO "(see ""do_set_home"" function implementation)."
__label__NO "there's one check in ""arducopter.pde"" that only sets home when ""ap.home_is_set"" is set."
__label__NO "maybe the routines that set home on the vehicle must be revisited to deal with cases where no planner software is connected prior to flight."
__label__NO .
__label__YES "the code suggests that the vehicle shouldn't arm when the distance is outside the fence."
__label__YES "i'm not % sure, but i think the fence is the reason for the fly-off in b) and the spinup in a)."
__label__NO "this requires therefore investigation if that code works."
__label__NO .
__label__YES "the rtl flight mode overrides stab mode and i have serious doubts about that for safety reasons."
__label__YES "i think rtl behavior in manual flight modes should be explicitly turned on, or allow the user to have a switch available to turn it off when it turns on and the user wants to have % control over the vehicle (nothing works, even if the radio link is ok)."
__label__NO ">i haven't tested everything through yet and i intend to do more testing this afternoon and update this issue afterwards."
__label__YES "pixhawk failover to internal compass can lead to using incorrect offsets"
__label__YES "if the external compass fails (or is disconnected) the internal compass will be used."
__label__NO "unfortunately it will likely use the compass offsets calculated using the external compass."
__label__NO "this same issue can occur for accelerometers and gyros although it is far less likely."
__label__NO ">proposed solution after discussing with tridge is: a) each device driver is enhanced to be able to return a unique device id which is probably created using the bus number + an enum for that type of compass."
__label__NO "b) pxfirmware is enhanced to include a new ioctl which returns the above device id for all pixhawk/px drivers."
__label__NO "c) ardupilot compass drivers for apm, flymaple, bbb also extended to return a device id for each of their supported compasses."
__label__NO "d) new parameters compass_devid, , etc are added which hold the device id used when the compass was calibrated."
__label__NO "these parameters might need to be updated by the mission planner when the compass calibration is performed e) new compass_conf param is added which holds a bitmap of which attached compasses have been calibrated."
